package com.alex.entity;

import cn.hutool.db.Entity;
import com.alex.index.insert.nsfctest.AuthorAffiliation;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

@Data
@SuppressWarnings("ALL")
public class ArticleEntity {

    private int id;
    private int cscd_id;
    private int ncbi_id;
    private int yiigle_id;
    private int wos_id;
    private int weipu_id;
    private int wanfang_id;
    private int cnki_id;

    private List<String> key_word_list;

    private String journal;
    private Integer aid;
    private String aidencryption;//加密的 aid 索引里不体现
    private Double citationquota;
    private Double referencequota;

    private List<String> ti_key;
    private List<String> ab_key;
    private List<String> kw_key;
    private List<String> abb_word;

    private List<String> unit;
    private List<String> unit_dept;
    private List<String> Dept;

    private Integer zkydalei;
    private Double jcr_if;
    private Integer year;
    private String title;
    private List<String> keyword;
    private String ab;
    private List<String> mesh;
    private Integer jid;

    private List<String> discussion;
    private List<String> results;
    private List<String> methods;
    private List<String> background;

    private String cite;
    private String cn_ti;
    private String cn_ab;
    private String cn_kw;
    private String cn_type;
    private List<String> pt;

    List<AuthorAffiliation> authors;

    private Integer is_cns;

    private Integer pmid;
    private String ut;
    private String doi;
    private String nlmid;

    private Double cite_score;
    private Integer jcr_quartile;
    private List<String> fund_list;

    private List<String> drug;//药物
    private List<String> disease;//疾病
    private List<String> pathway;//通路
    private List<String> gene;//基因

    //private String author;
    private List<String> auth;
    //private String sort_auth;
    private String info;

    private Integer is_retraction;

    private Integer is_china;

    //拆分的 methodinfonew字段
    private List<String> cn_discussion;
    private List<String> cn_results;
    private List<String> cn_methods;
    private List<String> cn_background;

    private Double cs_sjr;
    private Integer is_beida;
    private Integer is_cs;
    private Integer is_cscd;
    private Integer is_jcr;
    private Integer is_pubmed;
    private Integer is_tjy;
    private Integer is_yiigle;
    private Integer is_zky;
    private String zky_subject;
    private Integer is_core;

    /**
     * 这部分是2025_02_05新增加的临床指南项目里用的
     * `mail_list` text COMMENT '邮箱信息，是一个集合',
     * `unit_dept_auth` longtext COMMENT '机构、科室、作者的集合',
     * `reference` longtext COMMENT '参考文献的PID集合',
     * `reference_sum` int(11) DEFAULT NULL COMMENT '参考文献的次数',
     * `citation` longtext COMMENT '被引文献的PID集合',
     * `citation_sum` int(11) DEFAULT NULL COMMENT '被引文献的次数',
     */
    private List<String> mail_list;
    private List<String> subject;
    private List<String> kw_plus;
    private Integer times_cited;
    private String language;

    private List<Integer> references;
    private List<Integer> citations;
    private String references_str;
    private String citations_str;

    private Integer is_china_hosp;
    private Integer is_guidelines;
    private Integer is_pubmed_article;
    private Integer is_six_year;
    /**
     * 20250315新增
     */
    private List<String> pm_ad;
    private List<String> ncbi_subject;
    private List<String> ncbi_journal;
    private List<String> ncbi_mesh;
    private String web_site;
    private List<String> cn_country;
    private Integer early_warning;
    private Integer is_fund;
    private List<String> fund_auth;

    @TableField(exist = false)
    private Entity entity;


}
